<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post" novalidate>
    {% csrf_token %}
    <p>
        <label for="{{ form_obj.l_name.id_for_label }}">
        {{ form_obj.l_name.label }}
        </label>
        :{{ form_obj.l_name }} <span style="color: red">{{ form_obj.l_name.errors.0 }}</span>
    </p>
    <p>
        <label for="{{ form_obj.floor.id_for_label }}">
        {{ form_obj.floor.label }}
         </label>
        :{{ form_obj.floor }} <span style="color: red">{{ form_obj.floor.errors.0 }}</span>
    </p>
    <p>
        <label for="{{ form_obj.room.id_for_label }}">
        {{ form_obj.room.label }}
         </label>
        :{{ form_obj.room }} <span style="color: red">{{ form_obj.room.errors.0 }}</span>
    </p>
    <p>
        <label for="{{ form_obj.l_people.id_for_label }}">
        {{ form_obj.l_people.label }}
         </label>
        :{{ form_obj.l_people}} <span style="color: red">{{ form_obj.l_people.errors.0 }}</span>
    </p>
    <button>提交</button>
</form>
</body>
</html>